<template>
	<view>
		<web-view :src="pdfUrl"></web-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				pdfUrl: '',
				from: '',
				message: [],
				processData: ''
			}
		},
		onLoad(option) {
			let typeCode = getApp().globalData.typeScode;
			// this.processData = option.id
			// this.pdfUrl = option.url
			// 浏览情景2:浏览在线的pdf文件
			this.pdfUrl = 'https://uni.epumping.com/doc/hybrid/html/web/viewer.html?file=' + encodeURIComponent(option
					.url) + '&code=' + option.code + '&prjInfoId=' + option.id + '&isEpoxy=' + option.isEpoxy +
				'&epPrjId=' + option.epPrjId + '&planId=' + option.planId
		},

		methods: {}
	}
</script>

<style>

</style>
